package com.cn.exercise;


import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME) //Retention保留
@Target({ElementType.FIELD,ElementType.METHOD}) //指定注解可以应用的范围
public @interface AutoPrintHello {
    String value() default "deepSeek";
    int number() default 10;
}
